﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ListItemReport.aspx.cs" Inherits="DeliverablesReport" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table>
    <tr>
    <td>
    <table>
    <tr>
    <td>Project</td>
    <td>
        <asp:DropDownList ID="ddlProject" runat="server">
        </asp:DropDownList>
    </td>
    <td></td>
    <td>Status</td>
    <td>
        <asp:DropDownList ID="ddlStatus" runat="server">
        </asp:DropDownList>
    </td>
    <td></td>
    <td>
        <asp:Button ID="btnSubmit" runat="server" Text="Submit" 
            onclick="btnSubmit_Click" />
    </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>
        <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="R1_ItemDataBound">
        <ItemTemplate>
        <table>
        <tr>
        <td><b><asp:Label ID="Label1" Text='<%# DataBinder.Eval(Container.DataItem, "WebName") %>' Runat="server"/></b></td>
        </tr>
        <tr>
        <td>
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false" Width="800px">
            <Columns><asp:BoundField HeaderText="Deliverable" DataField="ItemName"  ItemStyle-Width="200px" /></Columns>
            <Columns><asp:BoundField HeaderText="Description" DataField="ItemDescription" ItemStyle-Width="300px"/></Columns>
            <Columns><asp:BoundField HeaderText="Status" DataField="Status" ItemStyle-Width="100px"/></Columns>
            <Columns><asp:BoundField HeaderText="Start Date" DataField="StartDate" ItemStyle-Width="100px" DataFormatString="{0:d}"/></Columns>
            <Columns><asp:BoundField HeaderText="End Date" DataField="EndDate" ItemStyle-Width="100px" DataFormatString="{0:d}"/></Columns>
            </asp:GridView>
        </td>
        </tr>
        </table>
        <br /><br />
        </ItemTemplate>
        </asp:Repeater>
    </td>
    </tr>
    </table>
    </div>
    </form>
</body>
</html>
